import request from '../util/request.js'
const baseUrl = "store/product/"
export function getProductList(data) {
	return request.get(baseUrl + "product/list", data, {
		noAuth: true
	})
}
export function getbuyList(data) {
	return request.get(baseUrl + "buy/list", data, {
		noAuth: true
	})
}

export function getProductPriaiseList(data) {
	return request.get(baseUrl + "priaise/list", data, {
		noAuth: true
	})
}

export function productDetail(data) {
	return request.get(baseUrl + "detail", data, {
		noAuth: false,
		noVerify: true
	})
}
export function productAddList(data) {
	return request.get(baseUrl + "add/list", data, {
		noAuth: false,
	})
}

export function getStoreProductList(data) {
	return request.get(baseUrl + "product/list", data, {
		noAuth: false,
		noVerify: true
	})
}

export function getStoreProductListAll(data) {
	return request.get(baseUrl + "product/list/all", data, {
		noAuth: true
	})
}



export function getUserProductList(data) {
	return request.get(baseUrl + "user/product/list", data, {
		noAuth: false
	})
}

export function getImageProductList(data) {
	return request.get(baseUrl + "image/list", data, {
		noAuth: true
	})
}


export function getSubProductList(data) {
	return request.get(baseUrl + "sub/list", data, {
		noAuth: true
	})
}



export function getChildProductList(data) {
	return request.get(baseUrl + "child/list", data, {
		noAuth: false
	})
}


export function getStoreIntegralProductList(data) {
	return request.get(baseUrl + "product/list/integral", data, {
		noAuth: false
	})
}
